package Domin;

public class Role {
    private String roleName;
    private boolean canManageEmployee;
    private boolean canManageAttendance;
    private boolean canManageSalary;

    // 构造器、getter/setter 可省略，此处简化
    public Role(String roleName, boolean emp, boolean att, boolean sal) {
        this.roleName = roleName;
        this.canManageEmployee = emp;
        this.canManageAttendance = att;
        this.canManageSalary = sal;
    }

    // Getters
    public String getRoleName() { return roleName; }
    public boolean isCanManageEmployee() { return canManageEmployee; }
    public boolean isCanManageAttendance() { return canManageAttendance; }
    public boolean isCanManageSalary() { return canManageSalary; }
}